package com.rayo.accesscontrollercopy.model.service;

import java.io.Serializable;

/**
 * Created by yanghaojie on 2017/3/16.
 */

public class ReaderData<T> implements Serializable {
    private int port;
    private T data;

    public ReaderData() {
        this.port = 0;
        this.data = null;
    }

    public ReaderData(int port, T data) {
        this.port = port;
        this.data = data;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
